I have a user asking about using discussions, and he wants to know how to delete them. I have don't know of any of my users using discussions, so I am relatively green in this area. After reading the DOORS manual it appears that the user should be able to delete a discussion simply by highlighting it, but I don't see this option. So I logged in as the Administrator and began looking at the DB and module properties for discussion, only to find that they were all grayed out and not accessible. So I thought "No problem I have DXL, I will remove it that way". I open the DXL manual and I was able to put together a simple script that should delete Discussions only to find that it didn't recognize the DXL.
I am running DOORS v9.1. Why can't I use the DB Discussion options as the Administrator? Why can I submit Discussion and close them but not manage them? Why is discussion DXL not recognized? Is there a switch that I am overlooking to turn this feature on? The script is below:
Discussion d
Module m = current
Object o
for o in m do{
for d in o do{
delete(d)
}
}
for d in m do{
delete(d)
}
Thanks
HiLbiLy - Mon Mar 21 09:54:35 EDT 2011 |
|
Re: Discussions SystemAdmin - Wed Mar 23 09:52:25 EDT 2011
The correct function to use is "deleteDiscussion". See this thread for more information.
|
|
Re: Discussions HiLbiLy - Thu Mar 24 07:39:29 EDT 2011 SystemAdmin - Wed Mar 23 09:52:25 EDT 2011
The correct function to use is "deleteDiscussion". See this thread for more information.
Ok, the dxl now has no errors, but it didn't actually delete the discussions. In your referenced link on a commenter stated that "the server must be configured to exclude DOORS 9.0 clients to make the new discussions functionality available.". How do I configure this?
|
|
Re: Discussions SystemAdmin - Thu Mar 24 07:46:25 EDT 2011 HiLbiLy - Thu Mar 24 07:39:29 EDT 2011
Ok, the dxl now has no errors, but it didn't actually delete the discussions. In your referenced link on a commenter stated that "the server must be configured to exclude DOORS 9.0 clients to make the new discussions functionality available.". How do I configure this?
Database properties (right mouse click on the Database icon in DOORS main window). Set the minimum client version allowed to login in Login Policy tab (see attached picture for my 9.3 installation).
Attachments
attachment_14598120_Clipboard01.jpg
|
|
Re: Discussions HiLbiLy - Thu Mar 24 07:56:13 EDT 2011 SystemAdmin - Thu Mar 24 07:46:25 EDT 2011
Database properties (right mouse click on the Database icon in DOORS main window). Set the minimum client version allowed to login in Login Policy tab (see attached picture for my 9.3 installation).
Awesome! That was the hook I was looking for.
Thanks!
|
|